package com.sevens.vo;

import java.sql.Time;

/**
 * Flight entity. @author MyEclipse Persistence Tools
 */

public class Flight implements java.io.Serializable {

	// Fields

	private Integer flightId;
	private String flighttype;
	private Time scheduletime;
	private String flightnumber;
	private Integer state;
	private String origin;
	private String stop;
	private String destination;
	private Time arrivalTime;
	private String board;
	private String airline;

	// Constructors

	/** default constructor */
	public Flight() {
	}

	/** minimal constructor */
	public Flight(String flightnumber) {
		this.flightnumber = flightnumber;
	}

	/** full constructor */
	public Flight(String flighttype, Time scheduletime, String flightnumber,
			Integer state, String origin, String stop, String destination,
			Time arrivalTime, String board, String airline) {
		this.flighttype = flighttype;
		this.scheduletime = scheduletime;
		this.flightnumber = flightnumber;
		this.state = state;
		this.origin = origin;
		this.stop = stop;
		this.destination = destination;
		this.arrivalTime = arrivalTime;
		this.board = board;
		this.airline = airline;
	}

	// Property accessors

	public Integer getFlightId() {
		return this.flightId;
	}

	public void setFlightId(Integer flightId) {
		this.flightId = flightId;
	}

	public String getFlighttype() {
		return this.flighttype;
	}

	public void setFlighttype(String flighttype) {
		this.flighttype = flighttype;
	}

	public Time getScheduletime() {
		return this.scheduletime;
	}

	public void setScheduletime(Time scheduletime) {
		this.scheduletime = scheduletime;
	}

	public String getFlightnumber() {
		return this.flightnumber;
	}

	public void setFlightnumber(String flightnumber) {
		this.flightnumber = flightnumber;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getOrigin() {
		return this.origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public String getStop() {
		return this.stop;
	}

	public void setStop(String stop) {
		this.stop = stop;
	}

	public String getDestination() {
		return this.destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public Time getArrivalTime() {
		return this.arrivalTime;
	}

	public void setArrivalTime(Time arrivalTime) {
		this.arrivalTime = arrivalTime;
	}

	public String getBoard() {
		return this.board;
	}

	public void setBoard(String board) {
		this.board = board;
	}

	public String getAirline() {
		return this.airline;
	}

	public void setAirline(String airline) {
		this.airline = airline;
	}

}